import request from '@/utils/request'

// 获取品牌数据
export const findBrand = (limit = 6) => {
  return request({
    method: 'get',
    url: '/home/brand',
    data: { limit }
  })
}

// 获取轮播图列表数据
export const findBanner = () => {
  return request({
    method: 'get',
    url: '/home/banner'
  })
}

// 获取新鲜好物数据
export const findNew = () => {
  return request({
    method: 'get',
    url: 'home/new'
  })
}

// 获取人气推荐数据
export const findHot = () => {
  return request({
    method: 'get',
    url: 'home/hot'
  })
}
